package procilege.impl.formatter;

import procilege.compute.ExprFormatTraveller;
import procilege.compute.PlaceTypeMetadata;
import procilege.compute.PlaceType;
import procilege.lang.PredicateEntity;

@PlaceTypeMetadata(type = PredicateEntity.class)
public class PredicateEntityFormatter implements PlaceType<ExprFormatTraveller> {

	public void visit(ExprFormatTraveller tr, Object place) {

		PredicateEntity expr = (PredicateEntity) place;

		tr.setout(expr.getName());
	}
}